﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace u盘和硬盘
{
    class Program
    {
        static void Main(string[] args)
        {
           UDisk udisk = new UDisk("金士顿64G");
            udisk.Info();
            udisk.Read();
            udisk.Write();
            UDisk mh = new UDisk("三星500G");
            mh.Info();
            mh.Read();
            mh.Write();

            Computer c =  new Computer();
            c.Brand = "华硕天选";
            c.Start();
            Console.WriteLine();

            c.Usb1 = udisk;
            c.Usb2 = mh;
            c.USB1();
            c.USB2();
            Console.WriteLine();

            c.End();

        }
    }
}
